/*/LqDiNtNFub8bs20CJZQ+eJdu+cV9um/T9SpUEOD1mNIChgWJ89dUJiIwGjI6gA9*/
/*
 * @Author: xiahui 
 * @PageInfo: 取消终止 
 * @Date: 2019-01-18 14:45:10 
 * @Last Modified by: xiahui
 * @Last Modified time: 2019-07-10 15:53:41
 */
import { URL } from '../../constance';
import { showListScriptActionDlg } from '../../utils/baseScriptUtil';
import { showWarningDialog } from '../../../../../scmpub/scmpub/pub/tool/messageUtil';
import { getLangByResId } from '../../../../../scmpub/scmpub/pub/tool/multiLangUtil';

export default function(props, record, index) {
	showWarningDialog(getLangByResId(this, '4004PURDAILY-000030'), getLangByResId(this, '4004PURDAILY-000031'), {
		/* 国际化处理： 取消终止,是否确定将此合同取消终止*/
		beSureBtnClick: () => {
			showListScriptActionDlg.call(
				this,
				props,
				URL.unEnd,
				getLangByResId(this, '4004PURDAILY-000032'),
				record,
				index,
				getLangByResId(this, '4004PURDAILY-000033')
			); /* 国际化处理： 取消终止成功,请输入取消终止该合同的原因*/
		}
	});
}

/*/LqDiNtNFub8bs20CJZQ+eJdu+cV9um/T9SpUEOD1mNIChgWJ89dUJiIwGjI6gA9*/